import request from '@/utils/request'

// 查询一级城市
export function listRegion() {
  return request({
    url: '/station/region/list',
    method: 'get'
  })
}

//查询二级城市及以下城市
export function listByParentCode(code) {
  return request({
    url: '/station/region/listByParentCode/' + code,
    method: 'get'
  })
}